-
Home
-
Smush Image Optimization – Optimize Images | Compress & Lazy Load Images | Convert WebP | Image CDN
-
3.9.1
-
Code
-
Classes
- CDN
Total Complexity |
206 |
Dependencies |
5 |
Dependents |
5 |
Total lines |
1,486 |
Lines of code |
670 |
Logical lines of code |
391 |
Comment lines |
585 |
Methods |
33 |
Properties |
7 |
Methods 33
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
parse_image() |
C |
36 |
26 |
74 |
is_supported_path() |
A |
48 |
17 |
28 |
set_additional_srcset() |
A |
40 |
13 |
59 |
update_image_srcset() |
A |
46 |
13 |
38 |
status() |
A |
53 |
11 |
21 |
update_cdn_image_src_args() |
A |
50 |
10 |
29 |
init() |
A |
48 |
9 |
29 |
filter_rest_api_response() |
A |
53 |
9 |
23 |
settings_desc() |
A |
44 |
7 |
51 |
init_flags() |
A |
55 |
9 |
19 |
generate_srcset() |
A |
51 |
8 |
26 |
generate_cdn_url() |
S |
54 |
6 |
20 |
update_stats() |
S |
55 |
6 |
20 |
check_mapped_domain() |
S |
54 |
5 |
22 |
get_size_from_file_name() |
S |
58 |
5 |
15 |
is_valid_url() |
S |
60 |
5 |
13 |
max_content_width() |
S |
62 |
5 |
11 |
toggle_cdn() |
S |
55 |
4 |
20 |
parse_background_image() |
S |
59 |
4 |
15 |
process_cdn_status() |
S |
60 |
4 |
13 |
maybe_generate_srcset() |
S |
54 |
3 |
21 |
update_image_sizes() |
S |
63 |
4 |
10 |
dns_prefetch() |
S |
69 |
4 |
6 |
get_url_without_dimensions() |
S |
60 |
3 |
12 |
get_image_size() |
S |
62 |
3 |
11 |
process_src() |
S |
63 |
3 |
10 |
register() |
S |
52 |
1 |
27 |
schedule_cron() |
S |
72 |
2 |
5 |
get_status() |
S |
79 |
2 |
3 |
init_parser() |
S |
70 |
2 |
7 |
unschedule_cron() |
S |
75 |
1 |
4 |
set_cdn_url() |
S |
74 |
1 |
4 |
__construct() |
S |
77 |
1 |
4 |